<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: HaRiA
  Date: 05.09.2014
  Time: 17:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Request view</title>
</head>
<body>

     ${request.project.name}
     <br/><br/>Owner of project <a href="/user/profile/${request.project.user.userId}">${request.project.user.userName}</a><br/>
     <c:if test="${current_user.userId == request.project.user.userId }" >
        Money donate to project: <a> ${project.pocket.moneyHave}</a> <br/>

         <form name='deleteForm' action="../delete" method='POST'>
             <input type="hidden" name="requestId" value="${request.requestId}" >
             <input type="submit" value="Delete" />
         </form>
     </c:if>
</body>
</html>
